package com.entity;

import java.io.Serializable;

/**
 * 专业
 *
 * @Author zhangfoshou
 * @Since 2016/1/6
 */
public class Profession implements Serializable {
    private Integer id;
    private String profession;//专业
    private Integer credit;//学分
    private String profession_no;//专业编号

    public Profession() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public String getProfession_no() {
        return profession_no;
    }

    public void setProfession_no(String profession_no) {
        this.profession_no = profession_no;
    }

    @Override
    public String toString() {
        return "Profession{" +
                "id=" + id +
                ", profession='" + profession + '\'' +
                ", credit=" + credit +
                ", profession_no='" + profession_no + '\'' +
                '}';
    }
}
